package com.ruoyi.book.service;

import java.util.List;
import com.ruoyi.book.domain.FictionShelf;

/**
 * 书架Service接口
 * 
 * @author 沉睡
 * @date 2024-08-05
 */
public interface IFictionShelfService 
{
    /**
     * 查询书架
     * 
     * @param id 书架主键
     * @return 书架
     */
    public FictionShelf selectFictionShelfById(Long id);

    /**
     * 查询书架列表
     * 
     * @param fictionShelf 书架
     * @return 书架集合
     */
    public List<FictionShelf> selectFictionShelfList(FictionShelf fictionShelf);

    /**
     * 新增书架
     * 
     * @param fictionShelf 书架
     * @return 结果
     */
    public int insertFictionShelf(FictionShelf fictionShelf);

    /**
     * 修改书架
     * 
     * @param fictionShelf 书架
     * @return 结果
     */
    public int updateFictionShelf(FictionShelf fictionShelf);

    /**
     * 批量删除书架
     * 
     * @param ids 需要删除的书架主键集合
     * @return 结果
     */
    public int deleteFictionShelfByIds(Long[] ids);

    /**
     * 删除书架信息
     * 
     * @param id 书架主键
     * @return 结果
     */
    public int deleteFictionShelfById(Long id);
}
